package net.hn.hnms.biz.plan.domain;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.persistence.Table;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * Author: ly
 * 销售计划
 */
@Data
@NoArgsConstructor
@ExcelIgnoreUnannotated
@EqualsAndHashCode(callSuper = false)
@Table(name = "plan_sale")
public class PlanSale extends BaseModel implements Serializable {
    @ApiModelProperty(value = "销售计划id")
    @TableId(type = IdType.ASSIGN_UUID)
    private String salePlanId;
    @ApiModelProperty(value = "计划名称")
    @TableField(updateStrategy= FieldStrategy.IGNORED)
    private String planName;
    @ApiModelProperty(value = "计划编号")
    @TableField(updateStrategy= FieldStrategy.IGNORED)
    private String planCode;
    @ApiModelProperty(value = "运销方式")
    @TableField(updateStrategy= FieldStrategy.IGNORED)
    private String saleType;
    @ApiModelProperty(value = "煤炭种类")
    @TableField(updateStrategy= FieldStrategy.IGNORED)
    private String coalType;
    @ApiModelProperty(value = "计划销量")
    @TableField(updateStrategy= FieldStrategy.IGNORED)
    private BigDecimal saleAmount;
    @ApiModelProperty(value = "计划开始日期")
    @TableField(updateStrategy= FieldStrategy.IGNORED)
    private Date planStartDate;
    @ApiModelProperty(value = "计划结束日期")
    @TableField(updateStrategy= FieldStrategy.IGNORED)
    private Date planEndDate;
    @ApiModelProperty(value = "计划类型 0日计划 1月计划 2年计划")
    @TableField(updateStrategy= FieldStrategy.IGNORED)
    private String planType;
    @ApiModelProperty(value = "禁用:1  启用:0")
    private String status;
    @ApiModelProperty(value = "销售去向：  0内销  1外销公路 2外销铁路")
    private String salesDestination;
    @ApiModelProperty(value = "煤炭种类：  0.原煤 1.块煤 2末煤 3.混煤")
    private String typeCoal;
}









